package com.ss.android.article.common.share.helper;

import android.content.Context;
import android.text.TextUtils;

import com.ss.android.article.common.share.interf.IActionHelper;
import com.ss.android.article.common.share.interf.IShareDataBean;
import com.ss.android.article.share.d.e;
import com.ss.android.article.share.entity.ShareAction;

public final class CommonCopylinkHelper implements IActionHelper {
    private Context mContext;

    public CommonCopylinkHelper(Context arg1) {
        this.mContext = arg1;
    }

    public final boolean a(IShareDataBean arg4) {
        String v0 = arg4.getShareUrl();
        boolean v0_1 = !TextUtils.isEmpty(v0) ? new e(this.mContext).c(v0).a(ShareAction.copy_link).a() : false;
        return v0_1;
    }

    public final boolean doAction(Object arg2, Object[] arg3) {
        return this.a(((IShareDataBean)arg2));
    }
}

